package cn.example.beans;

public class ClassD {

    private ClassC classC;

    public ClassD() {
        System.out.println("ClassD 无参构造办法...");
    }

    public void setClassC(ClassC classC) {
        this.classC = classC;
    }

    public void method1() {
        System.out.println("ClassD method1...");
    }

}
